package com.zr.kufangkuwei.service;

import com.zr.kufangkuwei.pojo.*;
import com.zr.util.AllRecords;
import com.zr.util.ResultVo;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.Valid;
import java.util.List;

/**
 * Created by Administrator on 2019/7/16.
 */
public interface KuFangService {
    ResultVo<AllRecords> queryPage(DepotareaSelectVo depotareaSelectVo);

    ResultVo update(@Valid DepotpositionUpdate depotpositionUpdate);

    ResultVo add(@Valid DepotareaAddVo depotareaAddVo);

    ResultVo<List<Depot>> queryDepot(Integer id);

    ResultVo<List<Depotarea>> queryDepotarea(Integer id);

    ResultVo importPlanClass(MultipartFile file) throws Exception;
}
